import type { Iroute } from "../../types"

//导入接口
import dormitoryExport from "./dormitoryExport"
import dormitoryQuery from "./dormitoryQuery"
const URL = "/dormitory"

//访问路径,对应方法
const routes: Array<Iroute> = [
  {
    url: URL + "/dormitoryExport",
    fn: dormitoryExport,
  },
  {
    url: URL + "/dormitoryQuery",
    fn: dormitoryQuery,
  },
]

//导出路由
export default routes
